/*
 * ResourceManager.h
 *
 *  Created on: 2009/01/31
 *      Author: Yongshik Cho
 */

#ifndef RESOURCEMANAGER_H_
#define RESOURCEMANAGER_H_

#include "core/ISingleton.h"
#include "TextureManager.h"
#include "SoundManager.h"
#include "ScriptManager.h"


class ResourceManager : public ISingleton<ResourceManager>
{
public:
	ResourceManager();
	virtual ~ResourceManager();

public:
	static ResourceManager& GetInstance()
	{
		assert(m_pInstance);
		return *m_pInstance;
	}
	static ResourceManager* GetInstancePtr()
	{
		return m_pInstance;
	}

private:
	TextureManager*		mTextureManager;
	SoundManager*		mSoundManager;
	ScriptManager*		mScriptManager;
};

#endif /* RESOURCEMANAGER_H_ */
